package org.lanqiao.ssm.facede.auth.facede.impl;

import javax.annotation.Resource;

import org.lanqiao.ssm.common.core.facede.base.BaseManagerFacede;
import org.lanqiao.ssm.common.core.service.BaseServiceI;
import org.lanqiao.ssm.facede.auth.facede.MenuManagerFacedeI;
import org.lanqiao.ssm.facede.auth.model.Menu;
import org.lanqiao.ssm.facede.auth.service.MenuServiceI;
import org.springframework.stereotype.Component;


@Component("menuManagerFacede")
public class MenurManagerFacedeImpl extends
		BaseManagerFacede<Menu, String> implements MenuManagerFacedeI {
	@Resource
	private MenuServiceI menuService;

	@Override
	public BaseServiceI<Menu, String> getService() {
		return menuService;
	}

	@Override
	public int remove(String id) {
		
		return menuService.remove(id);
	}

	@Override
	public int add(Menu menu) {
		
		return menuService.add(menu);
	}

	@Override
	public int edit(Menu menu) {
		
		return menuService.edit(menu);
	}

}
